package com.hefei.garden.controller;

import com.hefei.garden.config.exception.NotControllerResponseAdvice;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * @author: devil
 * @Date: 2022/7/21 20
 * @Description: 健康检测
 */
@RequestMapping("/healthDetection")
@Controller
public class HealthController {

    @NotControllerResponseAdvice
    @RequestMapping(value = "/health", method = RequestMethod.GET)
    @ResponseBody
    public String health() {
        return "success";
    }
}
